﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace bsasper
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (!Page.IsValid)
            {
                return;
            }
        }

        protected void ServerSideValidator_ServerValidate(object source, ServerValidateEventArgs args)
        {
            args.IsValid = int.Parse(args.Value) == 150;
        }
    }
}